{% from 'macros.html' import form as form_macro %}

{% extends "base.html" %}

{% block title %}
<title>{{ config['SITE_NAME'] }} - 登录</title>
{% endblock %}

{% block body %}
<div class="form w-50 mx-auto my-5">
  <h5>登录</h5>
  {{ form_macro(form) }}
  <p class="text-right">
    还没有账号？<a href="{{ url_for('user.register') }}">注册一个</a>
  </p>
</div>

{% endblock %}